lib/sysroot-deploy: Write to journal when finalizing
authorJonathan Lebon <jonathan@jlebon.com>
Fri, 5 Oct 2018 21:06:21 +0000 (17:06 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 5 Oct 2018 21:17:54 +0000 (21:17 +0000)
commit05e99da7a7395e80353210a576db52ba5062f1e7
tree7fca6a8f565ba8b6e0b20434e990b20823b0ba54
parent9161eb8c326442cd2d9a79c14ce8dd09733ed023
lib/sysroot-deploy: Write to journal when finalizing

Write to the journal when starting to finalize a staged deployment.
Combined with the "Transaction completed" message we already emit, this
makes it easy later on to determine whether the operation was successful
by inspecting the journal. This will be used by `rpm-ostree status`.

Closes: #1750
Approved by: cgwalters
src/libostree/ostree-sysroot-deploy.c